<template>
	<view class="root">
		<!-- 核销码 -->
		<view class="tQR">核销码：WE343235V</view>
		<view class="QR">
			<image style="width: 150px; height: 150px;" src="/static/images/mine/QR.png" mode="widthFix" />
		</view>
		
		<!-- 订单信息 -->
		<text class="text">订单信息</text>
		<view class="top">
			<view class="one">
				<view class="id">订单号：121212112487878</view>
				<text>待支付</text>
			</view>
			<view>服务项目：车辆保养</view>
			<view class="two">
				<text>服务门店：大宝车辆维修</text>
				<view class="img">
					<image src="/static/images/mine/导航.png" mode="widthFix"></image>
				</view>
			</view>
			<view>下单时间：2020.01.08 17:40</view>
			<view>预约时间：2020.01.08 17:40</view>
			<view>车辆：小米SU7/豫A98FHJ</view>
			<view>备注：</view>
		</view>

		<!-- 订单详情 -->
		<text class="text">订单详情</text>
		<view class="middle">
			<view class="m1">
				<view>车辆精洗</view>
				<view>¥199</view>
			</view>
			<view class="m2">
				<view>车辆附加费用</view>
				<view>¥199</view>
			</view>
		</view>

		<!-- 价格 -->
		<view class="bottom">
			<view class="b1">
				<view>原价</view>
				<view>¥100</view>
			</view>
			<view class="b2">
				<view>优惠</view>
				<view style="color: red;">-¥10</view>
			</view>
			<view class="b3">
				<view>支付金额</view>
				<view>¥200</view>
			</view>
		</view>

		<!-- 底栏 -->
		<view class="footerBar">
			<view class="f1">
				<view class="image1">
					<image style="width: 32px; height: 32px;" src="/static/images/mine/客服.png" mode="widthFix" />
				</view>
				<text>联系客服</text>
			</view>
			<view class="f2">申请退款</view>
			<!-- <view class="f3">立即支付</view> -->
		</view>
	</view>
</template>

<script setup>

</script>

<style>
	.root {
		background-color: white;
		padding: 15px;
		box-sizing: border-box;
	}
	
	.tQR {
		/* background-color: orchid; */
		width: 100%;
		text-align: center;
		font-size: 18px;
		font-weight: bolder;
		box-sizing: border-box;
	}
	.QR {
		/* background-color: lightblue; */
		margin: 0 auto;
		width: 150px;
		height: 150px;
	}

	.text {
		/* background-color: palegoldenrod; */
		font-size: 18px;
		font-weight: bolder;
	}

	.top {
		background-color: white;
		box-shadow: 0 2px 10px 2px #eee;
		padding: 10px;
		margin-bottom: 15px;
		margin-top: 5px;
	}

	.top>view {
		height: 25px;
	}

	.one {
		/* background-color: paleturquoise; */
		display: flex;
		justify-content: space-between;
	}

	.one>text {
		margin-right: 30px;
		color: red;
	}

	.two {
		/* background-color: papayawhip; */
		display: flex;
	}

	.two>.img {
		/* background-color: peachpuff; */
		width: 16px;
		height: 16px;
		margin-left: 30px;
	}

	.middle {
		background-color: white;
		box-shadow: 0 2px 10px 2px #eee;
		padding: 15px;
		box-sizing: border-box;
		margin-bottom: 15px;
		margin-top: 5px;
		border-radius: 5px;
	}

	.m1 {
		/* background-color: papayawhip; */
		line-height: 40px;
		display: flex;
		justify-content: space-between;
		height: 40px;
	}

	.m2 {
		/* background-color: papayawhip; */
		line-height: 40px;
		display: flex;
		justify-content: space-between;
		height: 40px;
	}

	.bottom {
		background-color: white;
		box-shadow: 0 2px 10px 2px #eee;
		padding: 15px;
		box-sizing: border-box;
		margin-bottom: 15px;
		margin-top: 5px;
		border-radius: 5px;
	}

	.b1 {
		/* background-color: orange; */
		display: flex;
		justify-content: space-between;
		height: 40px;
		line-height: 40px;
	}

	.b2 {
		/* background-color: orange; */
		display: flex;
		justify-content: space-between;
		height: 40px;
		line-height: 40px;
	}

	.b3 {
		/* background-color: orange; */
		display: flex;
		justify-content: space-between;
		height: 40px;
		line-height: 40px;
		border-top: 1px solid #eee;
	}
	
	.footerBar {
		background-color: white;
		position: fixed;
		bottom: 0;
		width: 100vw;
		height: 90px;
		left: 0;
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 0 20px;
	}
	.f1 {
		/* background-color: paleturquoise; */
		
	}
	.f1 > .image1 {
		/* background-color: palevioletred; */
		width: 32px;
		height: 32px;
		margin: 0 auto;
	}
	.f2 {
		background-color: white;
		width: 90px;
		height: 32px;
		text-align: center;
		line-height: 28px;
		border-radius: 4px;
		border: 2px solid #0084FF;
		/* margin-left: 50px; */
		/* box-sizing: border-box; */
	}
	.f3 {
		background-color: #0084FF;
		width: 90px;
		height: 32px;
		text-align: center;
		line-height: 32px;
		border-radius: 4px;
		color: white;
	}
</style>